package com.soft.zosagent.pojo;

import java.io.Serializable;

public class ZosFileParameter implements Serializable {
    private SpaceUnit spaceUnit;
    private int blksize;
    private int lrecl;
    private String recfm;
    private String dsnType;
    private int primaryAlloc;
    private int secondaryAlloc;
    private int numOfDirBlocks;
    private String volume;
    private String dataClass;

    public ZosFileParameter(){
        init();
    }

    private void init() {
        spaceUnit = SpaceUnit.NULL;
        blksize  = 0;
        lrecl = 0;
        recfm = "";
        dsnType = "";
        primaryAlloc = 0;
        secondaryAlloc = 0;
        numOfDirBlocks = 0;
        volume = "";
        dataClass = "";
    }

    public String getDataClass() {
        return dataClass;
    }

    public void setDataClass(String dataClass) {
        this.dataClass = dataClass;
    }

    public SpaceUnit getSpaceUnit() {
        return spaceUnit;
    }

    public void setSpaceUnit(SpaceUnit spaceUnit) {
        this.spaceUnit = spaceUnit;
    }

    public int getBlksize() {
        return blksize;
    }

    public void setBlksize(int blksize) {
        this.blksize = blksize;
    }

    public int getLrecl() {
        return lrecl;
    }

    public void setLrecl(int lrecl) {
        this.lrecl = lrecl;
    }

    public String getRecfm() {
        return recfm;
    }

    public void setRecfm(String recfm) {
        this.recfm = recfm;
    }

    public String getDsnType() {
        return dsnType;
    }

    public void setDsnType(String dsnType) {
        this.dsnType = dsnType;
    }

    public int getPrimaryAlloc() {
        return primaryAlloc;
    }

    public void setPrimaryAlloc(int primaryAlloc) {
        this.primaryAlloc = primaryAlloc;
    }

    public int getSecondaryAlloc() {
        return secondaryAlloc;
    }

    public void setSecondaryAlloc(int secondaryAlloc) {
        this.secondaryAlloc = secondaryAlloc;
    }

    public int getNumOfDirBlocks() {
        return numOfDirBlocks;
    }

    public void setNumOfDirBlocks(int numOfDirBlocks) {
        this.numOfDirBlocks = numOfDirBlocks;
    }

    public String getVolume() {
        return volume;
    }

    public void setVolume(String volume) {
        this.volume = volume;
    }
}
